package com.yugao.fintech.antelope.auth;

import com.yugao.fintech.antelope.base.annotation.EnableMyFeignClients;
import com.yugao.fintech.antelope.base.security.annotation.EnableMyResourceServer;
import com.yugao.fintech.antelope.base.model.constants.ModuleCons;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableMyFeignClients
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = ModuleCons.SCAN_BASE_PACKAGE)
@EnableMyResourceServer
public class CloudAuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(CloudAuthApplication.class, args);
    }
}
